home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9623 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.3 KB  |  73 lines

  1. Newsgroups: comp.lang.c
  2. Subject: RE: QUESTION ON C/370
  3. From: roger.lacroix@canrem.com (Roger Lacroix)
  4. Path: canrem.com!roger.lacroix
  5. Distribution: world
  6. Message-ID: <60.6244.4396.0N20D0BA@canrem.com>
  7. Date: Mon, 11 Mar 96 23:49:00 -0500
  8. Organization: CRS Online  (Toronto, Ontario)
  9.  
  10. In a message dated 03-07-96, Arn Trembley said to Roger Lacroix:
  11.  
  12. AT>I'm actually using OS/2 Communications Manager for Warp as my 3270
  13. AT>terminal emulator.  I can generate any hex character in a TSO/ISPF edit
  14. AT>session, but the ones you mentioned (which are in the yellow book!)
  15. AT>display back as spaces.
  16.  
  17. My reference to CM/2 is Communication Manager for OS/2.
  18.  
  19. The following are the instructions that I put together for our group
  20. to get the square brackets to work under Communication Manager for OS/2.
  21.  
  22. -------------------------- cut here -------------------------------
  23.  
  24. For those who running CM/2 v1.1, I have (finally) figured-out how to
  25. correctly display (both) square brackets on the 3270 sessions.
  26.  
  27. It is a two step process:
  28. (1) get and modify CPT (Code Point Table)
  29. (2) Remap your host keyboard.
  30.  
  31. Note:  The order is important!!!
  32.  
  33. Part 1:
  34.  - Go to an OS/2 command line (either windowed or full screen).
  35.  - Change to the CMLIB subdirectory   ie. C:\CMLIB
  36.  - Run the following program: ACSGCCRT.EXE  (make sure you are in C:\CMLIB)
  37.  - Make a backup copy of 037.CPT  (ie.  copy  037.cpt  037.saf)
  38.  - Edit (with either E.exe or Kedit.exe) the file 037.CPT
  39.    - change the following items:
  40.  
  41.        Left_Bracket  from BA to AD
  42.        Right_Bracket from BB to BD
  43.  
  44.        Y_Acute_Capital         from AD to BA
  45.        Diaeresis/Umlaut_Accent from BD to BB
  46.  
  47.    - make sure 037.cpt is sorted from 00 to FF      <== very important
  48.    - save the file.
  49.  - stop then restart the Communication Manager.
  50.  
  51.  
  52. Part 2:
  53.  - From a host session: select "Keyboard" then select "Remap Keyboard".
  54.  - Now select the "[" (left bracket key) to edit.
  55.    - press "["
  56.    - close the edit key window.
  57.  - Now select the "]" (right bracket key) to edit.
  58.    - press "]"
  59.    - close the edit key window.
  60.  - Close the Keyboard Utility and save your changes.
  61.  
  62.  
  63. Now you are ready to use "[" and "]" as they should be used.
  64.  
  65. -------------------------- cut here -------------------------------
  66.  
  67. Hope that helps.
  68.  
  69. Roger...
  70. Unionville, Ontario
  71. ---
  72.  * MR/2 2.23 NR * I didn't shoot J.R.
  73.